<?php 
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-lr-10">
<form name="searchform" action="?m=courses&c=admin_courses&a=bind_statistic&menuid=<?php echo $_GET['menuid'];?>" method="post" >
<table width="100%" cellspacing="0" class="search-form">
	<tbody>
		<tr>
			<td>
				<div class="explain-col">
					模型选择：
					<?php echo form::select($member_models, $search_modelid, 'name="search_modelid"');?>
					班级选择：
					<?php echo form::select($class_list, $search_class, 'name="search_class"', L('selected'));?>
					课程选择：
					<?php echo form::select($course_list, $search_course, 'name="search_course"', L('selected'));?>
					<input type="submit" value="统计" class="button" name="srch_submit">
				</div>
			</td>
		</tr>
	</tbody>
</table>
</form>

<div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
				<th width="120" align="center">会员ID</th>
				<th width="120" align="center">会员名称</th>
				<th align="center">&nbsp;</th>
				<th align="center">&nbsp;</th>
				<th align="center">&nbsp;</th>
				<th align="center">&nbsp;</th>
            </tr>
        </thead>
    <tbody>
 <?php 
if(is_array($data)){
	foreach($data as $member){
?>   
	<tr>
		<td align="center"><?php echo $member['user_id']?></td>
		<td align="center"><?php echo $member['user_name']?></td>
		<td align="center">&nbsp;</td>
		<td align="center">&nbsp;</td>
		<td align="center">&nbsp;</td>
		<td align="center">&nbsp;</td>
	</tr>
<?php 
	}
}
?>
</tbody>
</table> 
	<div id="pages"><?php echo $this->db->pages;?></div>
</div>

</div>
</body>
</html>